<template>
    <VehicleHumpItem :data="setData" :item-m-b="itemMB" @item-click="itemClick"/>
</template>

<script>

export default {
    props: {
        data: {
            type: Object,
            default: () => ({})
        },
        itemMB: {
            type: Boolean,
            default: true
        }
    },
    computed: {
        setData() {
            const data = this.data;
            return {
                id: data.id,
                title: data.title,
                // displayDiagram: data.display_diagram,
                // houseImage: data.house_image,
                // transactionType: data.transaction_type,
                // region: data.region,
                // cellName: data.cell_name,
                // floor: data.FLOOR,
                // houseType: data.house_type,
                // area: data.AREA,
                // price: data.price,
            }
        },
    },
    data() {
        return {
            
        };
    },
    methods: {
        itemClick(item) {
            this.$emit('item-click',this.data);
        }
    }
}
</script>

<style lang="less">

</style>
